package sql.db;

import java.io.Serializable;

public class Reference implements Serializable 
{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	String table_name;
	String col_name;
	
	public Reference(String tn, String cn){
		super();
		this.table_name = tn;
		this.col_name = cn;
	}
	
	public boolean equals(Reference ref) {
		if (this.table_name.equalsIgnoreCase(ref.getTable_name()) 
			&& this.col_name.equalsIgnoreCase(ref.getCol_name()))
			return true;
		else
			return false;
	}

	public String getTable_name() {
		return table_name;
	}

	public String getCol_name() {
		return col_name;
	}
}
